def contextmanager(func):
    pass